package com.cskaoyan.mapper;

import com.cskaoyan.bean.Specifications;
import com.cskaoyan.bean.SpecificationsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SpecificationsMapper {
    long countByExample(SpecificationsExample example);

    int deleteByExample(SpecificationsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Specifications record);

    int insertSelective(Specifications record);

    List<Specifications> selectByExample(SpecificationsExample example);

    Specifications selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Specifications record, @Param("example") SpecificationsExample example);

    int updateByExample(@Param("record") Specifications record, @Param("example") SpecificationsExample example);

    int updateByPrimaryKeySelective(Specifications record);

    int updateByPrimaryKey(Specifications record);
}